package com.example.JavaWebApi.model.entity.systemEntity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
*
* @ClassName: Roleinfo
* @Description: TODO(这里用一句话描述这个类的作用)
* @author 杨泽
* @date 2022-06-15
*/
@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@TableName("sys_roleinfo")
public class Roleinfo implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
 
    /**
     * 角色ID
     */
    @TableId(value = "ID",type = IdType.AUTO)
   private Integer id;
    
 
    /**
     * 角色名称
     */
   @TableField("RoleName")  
   private String roleName;
    
 
    /**
     * 创建人ID
     */
   @TableField("CreateBy")  
   private Integer createBy;
    
 
 
 
 
 
}